package org.md.budzik.problems;

import java.math.BigInteger;
import java.util.Map;

/**
 * Obsługa wartości stałych.
 * @author Wiezzel
 *
 */
public class Constant extends Expression {
	
	private BigInteger value;
	
	public Constant(BigInteger value) {
		this.value = value;
	}

	public BigInteger value(Map<String,Integer> variables) {
		return this.value;
	}

	public String toString() {
		return this.value.toString();
	}

}